package com.adun.scheduler.common.enums;

public enum ResponseEnum {
    /***系统响应枚举***/
    SUCCESS(0,"成功"),
    FAIL(19999, "后台服务异常，请重试"),
    END(99999,"枚举结束");
    private Integer code;
    private String description;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    ResponseEnum(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
}
